export const #(beanName)TableColumns=[
#set(x = 0)
#for(item : columns)
    #if(item.showTable)
        { title: "#(item.comment)", dataIndex: "#(item.name)"
            #if(x==0)
            , scopedSlots: { customRender: "#(customRender)" }
            #set(x=1)
            #end
        },
    #end
#end
]

export const #(beanName)QueryColumns=[
#for(item : columns)
    #if(item.queryType=='like' || item.queryType=='jqcx')
        {
        label: "#(item.comment)",
        name: "#(item.name)",
        type: "input"
        },
    #else if(item.queryType=='dictionarySelect')
        {
        label: "#(item.comment)",
        name: "#(item.name)",
        codeItemId:"#(item.dictionaryTypeId)",
        type: "dictionarySelect"
        },
    #end
#end
]

export const #(beanName)Rules = {
#for(item : columns)
    #if(item.required==true)
        #(item.name): [{ required: true, trigger: "blur", message: "请填写#(item.comment)" }],
    #end
#end
};